package cs342.project1.mathNotebook.data;

/**
 * Abstracts away the creation of Notebook Reader/Writer objects
 * 
 * @author Jared Schlicht
 */
public abstract class NotebookRepositoryAbstractFactory {
	/**
	 * Creates a new NotebookReader
	 * @return NotebookReader object or null if an error occurred during
	 * creation
	 */
	public abstract NotebookReader createReader();
	
	/**
	 * Creates a new NotebookWriter object
	 * @return NotebookWriter object or null if any errors occurred during
	 * creation
	 */
	public abstract NotebookWriter createWriter();
}
